export interface MenuApi {
  id: number
  path: string
  redirect?: string
  name: string
  component: any
  parentId: number | null
  title: string
  icon: string
  isKeepAlive: boolean
  isAffix: boolean
  children?: MenuApi[]
  meta?: MetaApi
}

interface MetaApi {
  title: string
  icon: string
  isKeepAlive: boolean
  isAffix: boolean
}
